package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件类型对象 file_type
 * 
 * @author ess
 * @date 2021-10-18
 */
public class FileType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件类型Id */
    private String fileTypeId;

    /** 文件类型名称--- word /excel/pdf/web/wps */
    @Excel(name = "文件类型名称--- word /excel/pdf/web/wps")
    private String fileTypeName;

    /** 顶级单位id */
    @Excel(name = "顶级单位id")
    private String topUnitId;

    public void setFileTypeId(String fileTypeId) 
    {
        this.fileTypeId = fileTypeId;
    }

    public String getFileTypeId() 
    {
        return fileTypeId;
    }
    public void setFileTypeName(String fileTypeName) 
    {
        this.fileTypeName = fileTypeName;
    }

    public String getFileTypeName() 
    {
        return fileTypeName;
    }
    public void setTopUnitId(String topUnitId) 
    {
        this.topUnitId = topUnitId;
    }

    public String getTopUnitId() 
    {
        return topUnitId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileTypeId", getFileTypeId())
            .append("fileTypeName", getFileTypeName())
            .append("topUnitId", getTopUnitId())
            .toString();
    }
}
